﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<!-- saved from url=(0029)http://www.helpandmanual.com/ -->
<head> 
   <title>Disk permissions problems</title> 
   <!-- Template design (c) copyright 2008-2009 by Tim Green and EC Software -->
   <meta name="generator" content="Help &amp; Manual" /> 
   <meta name="keywords" content="" />
   <meta name="description" content="Disk permissions problems" />
   <meta name="copyright" content="© 2012 Kentico Software" /> 
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
   <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
   <link type="text/css" href="default.css" rel="stylesheet" /> 
   <link type="text/css" href="custom.css" rel="stylesheet" />

   <script type="text/javascript" src="jquery-1.3.2.min.js"></script>
   <script type="text/javascript" src="jquery.scrollTo-min.js"></script>
   <script type="text/javascript" src="nsh.js"></script>



         
   <!-- CSS set with project variables and local attributes --> 
   <style type="text/css" media="screen"> 
   body { background: #fff; } 
   #breadcrumbs {width: 100%; background-color: white; border-bottom: 1px solid #000; padding: 0px 0px 5px 15px;
   margin: 3px 0; font-size: 8pt; color: #000;}
   #breadcrumbs a { color: #000; text-decoration: none;}
   #breadcrumbs a:visited { color: #000; }
   #breadcrumbs a:hover { color: #098ae2; text-decoration: none; }
   .help-url { font-size: 10pt; font-family: Arial, Verdana, Helvetica, sans-serif; 
               color: #1f84e8; text-align: center; margin: 5px 20px 10px 0px; 
               padding-top: 14px; border-top: 1px solid #000;}
   .help-url a { color: #098ae2; text-decoration: none; }
   .help-url a:visited { color: #098ae2; }
   .help-url a:hover { color: #098ae2; text-decoration: underline; }
   .highlight {background: #ffff40;}
   .breadhead {padding: 5px 0px 0px 0px !important;}    
   #innerdiv   
   {   
   padding-left: 5px;
   }
   

   </style> 

<!-- Adjustment for IE -->
<!--[if lte IE 8]>
<style type="text/css">
.topichead { padding-right: 0; }
   
   
   	.breadhead {
	margin: 0;
	padding-right: 5px;
	}
   
   
</style>
<![endif]-->
   
<script type="text/javascript">
// Initialize the page 
addEvent(window, "load", nsrInit);
addEvent(window, "load", doResize);
addEvent(window, "resize", doResize);
addEvent(window, "load", toggleJump);

</script>


<script type="text/javascript">
function mailFB_custom() {
var headerText = unQuot("Feedback on: Kentico CMS 6.0 Context Help - Disk permissions problems".replace('&nbsp;',''));
var fb1 = "mailto:" + escape('Kentico Support Team <support@kentico.com>') + "?subject=" + headerText;
var titlePath = unQuot("Database setup &gt; Disk permissions problems &gt; Disk permissions problems /");
var fb2 = "&body=Ref:%20" + titlePath + "%20ID:%20diskpermissions%0A%0D%0A%0D" + unQuot("Dear Support Staff,") + "%0A%0D%0A%0D";
var fb = fb1 + fb2;
document.location.href=fb;
}
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-105987-4']);
  _gaq.push(['_setDomainName', '.kentico.com']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>        
<script type="text/javascript" src="helpman_topicinit.js"></script>
<!-- Redirect browser to frame page if page is not in the content frame. -->
<script type="text/javascript">
<!--
if (location.search.lastIndexOf("toc=0")<=0) {
  if (parent.frames.length==0) { parent.location.href="index.html?diskpermissions.htm"; }
  else { parent.quicksync('a3.7.1'); }
}
//-->
</script>
<script type="text/javascript" src="highlight.js"></script></head> 
<body onload="highlight();">
<div id="hmpopupDiv" style="visibility:hidden; position:absolute; z-index:1000; "></div>
<!--ZOOMSTOP-->

<div id="printheader">
<span id="printtitle">Kentico CMS 6.0 Context Help</span><br />
<p class="p_Heading1"><span class="f_Heading1">Disk permissions problems</span></p>
</div>
<div id="idheader" style="border-bottom:1px solid #000;margin:0px 0px;"> 
<table id="breadtable" border="0" cellspacing="0" cellpadding="0" width="100%"> 
  <tr >
  <td align="left" class="breadhead" >
       <p id="breadcrumbs"><a href="mode_selection.htm"
        onmouseover="document.images.main.src='home_h.gif'" 
        onmouseout="document.images.main.src='home.gif'">
        <img name="main" src="home.gif" border="0" alt="Home topic" title="Home topic" /></a> 
        
        Database setup &gt; Disk permissions problems:</p> 
  </td>
  </tr>
</table>
<table width="99%" border="0" cellspacing="0" cellpadding="0" id="headtable"> 

<!-- Script version of NavHeader -->
  <tr id="scriptNavHead" valign="middle" style="height: auto;"> 
    <td align="left" class="topichead" style="padding-left: 15px;"> 
    <p class="p_Heading1"><span class="f_Heading1">Disk permissions problems</span></p>

    </td>
    <td align="center" width="20" class="idnav" valign="bottom">
     <a href="sqlerror.htm"
        onmouseover="document.images.prev.src='button_prev_h.gif'" 
        onmouseout="document.images.prev.src='button_prev.gif'">
        <img name="prev" src="button_prev.gif" border="0" alt="Previous topic" title="Previous topic" /></a>
     
   </td>
   
   <td align="center" width="20" class="idnav" valign="bottom">
     <a href="disk_permissions_windows_7.htm"
        onmouseover="document.images.next.src='button_next_h.gif'" 
        onmouseout="document.images.next.src='button_next.gif'"><img name="next" src="button_next.gif" border="0" alt="Next topic" title="Next topic" /></a>
        
   </td>

   
   
   
   
   

     
   <td id="print-button" align="center" width="20" class="idnav" valign="bottom">
     <a href="javascript: print();" 
     onmouseover="document.images.printbutton.src='print_h.gif'" 
     onmouseout="document.images.printbutton.src='print.gif'"><img name="printbutton" border="0" alt="Print this topic" title="Print this topic" src="print.gif" /></a>
   </td>  
     
     

  
   <td id="mail-feedback" align="center" width="20" class="idnav" valign="bottom">
   <a href="#"
        onclick='mailFB_custom();'
        onmouseover="document.images.feedback.src='mail_h.gif'" 
        onmouseout="document.images.feedback.src='mail.gif'"><img name="feedback" src="mail.gif" border="0" alt="Mail us feedback on this topic!" title="Mail us feedback on this topic!" /></a>
   </td>
   
   <td width="4">&nbsp;</td>
  </tr>
<!-- End script navheader version -->

<!-- NoScript version of navheader -->

  <tr id="noScriptNavHead" valign="middle" style="height: auto;"> 
    <td align="left" class="topichead"> 
    <p class="p_Heading1"><span class="f_Heading1">Disk permissions problems</span></p>

    </td>
    <td align="center" width="20" class="idnav" valign="bottom">
     <a href="sqlerror.htm">
        <img src="button_prev.gif" border="0" alt="Previous topic" title="Previous topic" /></a>
     
   </td>
   
   <td align="center" width="20" class="idnav" valign="bottom">
     <a href="disk_permissions_windows_7.htm">
        <img src="button_next.gif" border="0" alt="Next topic" title="Next topic" /></a>
        
   </td>
   
   
   
  
   

     
     
   <td align="center" width="20" class="idnav" valign="bottom">
   <img border="0" alt="JavaScript is required for the print function" title="JavaScript is required for the print function" src="print_d.gif" />
   </td>
     
     
   
   <td align="center" width="20" class="idnav" valign="bottom">
   <a href="mailto:support@kentico.com?subject=Documentation%20feedback&body=Ref%20ID:%20diskpermissions%0D%0D"><img src="mail.gif" border="0" alt="Mail us feedback on this topic!" title="Mail us feedback on this topic!" /></a>
   </td>
   
   <td width="4">&nbsp;</td>
  </tr>

<!-- End noscript navheader version -->
  </table>
<div id="autoTocWrapper"></div>
</div> 

<div id="idcontent"><div id="innerdiv">
<!--ZOOMRESTART-->
<p>Kentico CMS is able to perform most operations without writing to disk. However, there are situations when the web application needs to write to the disk for optimal operations or performance, such as importing/exporting a site or storing uploaded files in the files system (which is optional).</p>
<p>&nbsp;</p>
<p>If you receive the error message depicted below, saying that the web application cannot write to disk, you need to grant the <span style="font-weight: bold;">Modify</span> permissions on the whole website folder to the appropriate user account.</p>
<p>&nbsp;</p>
<p><img src="devguide_clip1343.zoom70.png" width="458" height="193" border="0" alt="devguide_clip1343"></p>
<p>&nbsp;</p>
<p class="p_Heading2" style="margin: 0px 0px 0px 0px;"><span class="f_Heading2">User account of the web application</span></p>
<p>&nbsp;</p>
<p>The web application runs under a user account that depends on your environment. Please note that the accounts listed below are just the default ones, they may be different in your environment. However, the <span style="font-weight: bold;">name of the account is always displayed with the error message</span>, as highlighted in the screenshot above.</p>
<p style="margin: 0px 0px 0px 6px;">&nbsp;</p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 6px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="15"><span style="font-size: 10pt; font-family: 'Arial'; color: #000000;">1.</span></td><td>On <a href="disk_permissions_windows_7.htm">Windows 7</a>, the user account is the local <span style="font-weight: bold;">IIS_IUSRS</span> account by default.</td></tr></table></div><p style="margin: 0px 0px 0px 6px;">&nbsp;</p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 6px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="15"><span style="font-size: 10pt; font-family: 'Arial'; color: #000000;">2.</span></td><td>On <a href="disk_permissions_vista.htm">Windows Vista or Server 2008</a>, the user account is the local <span style="font-weight: bold;">NETWORK SERVICE </span>account by default.</td></tr></table></div><p style="margin: 0px 0px 0px 6px;">&nbsp;</p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 6px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="15"><span style="font-size: 10pt; font-family: 'Arial'; color: #000000;">3.</span></td><td>On <a href="disk_permissions_win_xp.htm">Windows XP</a>, the user account is the local <span style="font-weight: bold;">ASPNET</span> account (aspnet_wp) by default.</td></tr></table></div><p style="margin: 0px 0px 0px 6px;">&nbsp;</p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 6px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="15"><span style="font-size: 10pt; font-family: 'Arial'; color: #000000;">4.</span></td><td>On <a href="disk_permissions_win2k.htm">Windows 2003</a>, the user account is the local account <span style="font-weight: bold;">NT Authority\Network Service</span> by default.</td></tr></table></div><p style="margin: 0px 0px 0px 6px;">&nbsp;</p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 6px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="15"><span style="font-size: 10pt; font-family: 'Arial'; color: #000000;">5.</span></td><td>If you're using <span style="font-weight: bold;">Visual Studio's</span> built-in web server, it is running under your account.</td></tr></table></div><p>&nbsp;</p>
<p>You can see the name of the user account under which the application runs in <span style="font-weight: bold;">Site Manager -&gt; Administration -&gt; System</span> dialog.</p>
<p>&nbsp;</p>
<p class="p_Heading2" style="margin: 0px 0px 0px 0px;"><span class="f_Heading2">Choosing the component for directory operations</span></p>
<p>&nbsp;</p>
<p>If you're running Kentico CMS under restricted trust level, you may need to use the managed component for directory operations (create/delete/rename directory). You can configure it by setting the following web.config parameter:</p>
<p>&nbsp;</p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;"><table cellspacing="0" cellpadding="12" border="0" style="border: none; border-spacing:0px; border-collapse: collapse;">
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="705" bgcolor="#d3d3d3" style="width:705px; background-color:#d3d3d3; border: solid 1px #999999;"><p><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">&lt;</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #a31515;">add</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;"> </span><span style="font-size: 9pt; font-family: 'Courier New'; color: #ff0000;">key</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">=</span><span style="font-size: 9pt; font-family: 'Courier New';">"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">CMSDirectoryProviderAssembly</span><span style="font-size: 9pt; font-family: 'Courier New';">"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;"> </span><span style="font-size: 9pt; font-family: 'Courier New'; color: #ff0000;">value</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">=</span><span style="font-size: 9pt; font-family: 'Courier New';">"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">CMS.DirectoryProviderDotNet</span><span style="font-size: 9pt; font-family: 'Courier New';">"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;"> /&gt;</span></p>
</td>
</tr>
</table>
</div>
<p>&nbsp;</p>
<p>If you're running Kentico CMS on a shared hosting server, some providers require that you use the non-managed methods for directory operations: </p>
<p>&nbsp;</p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;"><table cellspacing="0" cellpadding="12" border="0" style="border: none; border-spacing:0px; border-collapse: collapse;">
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="705" bgcolor="#d3d3d3" style="width:705px; background-color:#d3d3d3; border: solid 1px #999999;"><p><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">&lt;</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #a31515;">add</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;"> </span><span style="font-size: 9pt; font-family: 'Courier New'; color: #ff0000;">key</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">=</span><span style="font-size: 9pt; font-family: 'Courier New';">"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">CMSDirectoryProviderAssembly</span><span style="font-size: 9pt; font-family: 'Courier New';">"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;"> </span><span style="font-size: 9pt; font-family: 'Courier New'; color: #ff0000;">value</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">=</span><span style="font-size: 9pt; font-family: 'Courier New';">"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">CMS.DirectoryProviderWin32</span><span style="font-size: 9pt; font-family: 'Courier New';">"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;"> /&gt;</span></p>
</td>
</tr>
</table>
</div>
<p>&nbsp;</p>

<!--ZOOMSTOP--> 

<noscript>
<p class="help-url"><b>Help URL:&nbsp;</b><a href="<%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?diskpermissions.htm" target="_top" title="Right-click to copy the URL of this help topic">
<%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?diskpermissions.htm</a>
</p>
</noscript>
<script type="text/javascript">
var autoURL = true;
if (autoURL) {
      document.write(getHref("index.html","Help URL:","Right-click to copy the URL of this help topic"));
      } else {
             document.write('<p class="help-url"><b>Help URL:&nbsp;</b>');
             document.write('<a href="<%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?diskpermissions.htm" target="_top" title="Right-click to copy the URL of this help topic"><%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?diskpermissions.htm</a>');
             document.write('</p>');
      }
</script>

</div></div> 
</body>
</html>





